package nc.ui.med.mcm.splx.splcd;

import java.awt.Container;

import nc.ui.pub.beans.UIDialog;
import nc.vo.med.mcm.splx.PipeiVO;

public class PipeiConfigDlg extends UIDialog {

	private PipeiConfigPanel panel = null;

	public PipeiConfigDlg(Container parent, String title, PipeiConfigPanel panel) {
		super(parent, title);
		this.panel = panel;
		initialize();
	}

	private void initialize() {
		setName("PipeiConfigDlg");
		setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);
		setSize(800, 520);
		setResizable(true);
		panel.setParent(this);
		setContentPane(panel);
	}
	
	public PipeiVO[] getResultVO(){
		return (PipeiVO[]) panel.getTableModel().getVOArray();
	}
	
}
